package com.cvit.dao;

import com.cvit.model.ManagerRoleExample;
import com.cvit.model.ManagerRoleKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ManagerRoleMapper {
    long countByExample(ManagerRoleExample example);

    int deleteByExample(ManagerRoleExample example);

    int deleteByPrimaryKey(ManagerRoleKey key);
    
    int deleteByManagerid(String managerid);
    
    int deleteByRoleid(int id);

    int insert(ManagerRoleKey record);

    int insertSelective(ManagerRoleKey record);

    List<ManagerRoleKey> selectByExample(ManagerRoleExample example);
    
    List selectByManagerid(int managerid);

    int updateByExampleSelective(@Param("record") ManagerRoleKey record, @Param("example") ManagerRoleExample example);

    int updateByExample(@Param("record") ManagerRoleKey record, @Param("example") ManagerRoleExample example);
}